package org.despair2D.utils 
{
	

	
public interface ITimer 
{


	function get running() : Boolean
	function get timerName() : String
	
	function get delay() : Number
	function set delay( v:Number ) : void
	
	function get currentCount() : int;
	function get repeatCount() : int;
	
	
	
	function addRoundListener( listener:Function, priority:int = 0 ) : ITimer
	function removeRoundListener( listener:Function ) : void
	function removeAllRoundListeners():void
	
	function addCompleteListener( listener:Function, priority:int = 0 ) : ITimer
	function removeCompleteListener( listener:Function ) : void
	function removeAllCompleteListeners() : void
	
	
	function start() : void
	function pause() : void
	function reset( autoStart:Boolean = false ) : void
	function toggle() : void
	function dispose() : void
	
}
	
}